package com.ssm.demo2.po;

import java.util.Date;

public class User {
	private int id;
	private String username;
	private Date password;
	private char sex;
	private String address;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public Date getPassword() {
		return password;
	}
	public void setPassword(Date password) {
		this.password = password;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(char sex) {
		this.sex = sex;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	@Override
	public String toString() {
		return "User [id=" + id + ", username=" + username + ", password=" + password + ", sex=" + sex + ", address="
				+ address + "]";
	}
	
	
}
